package com.dks.repository;

import java.util.*;
import com.dks.models.Student;
import com.dks.result.ResultModel;

public interface IStudentRepository {

    Integer insert(Student student);

    Integer update(Student student);

    Integer delete(Integer id);

    Student select(Integer id);

    Integer cntByMap(Map<String, Object> map);

    List<Integer> getByMap(Map<String, Object> map);

    List<Student> getByMapList(Map<String, Object> map);

    Integer updateByCode(Student student);

    Student selectByBfCode(String bfCode);

    ResultModel<Object> getStudentList(Integer parentId, Integer pageNum, Integer pageSize);

    ResultModel<Object> getStudentInfo(Integer id);

    ResultModel<Object> insertStudentInfo(Student student);

    ResultModel<Object> updateStudentInfo(Student student);

    ResultModel<Object> deleteStudent(Student student);

    ResultModel<Object> getclassStudentList(Integer studentId, Integer pageNum, Integer pageSize);

    ResultModel<Object> getMyClassList(String beginTime, String endTime, String courseCategory, String appointmentType, String classAttendStatus, Long studentId, Long parentId, Integer pageNum, Integer pageSize);

    ResultModel<Object> getMyClassDetail(Long studentClassId);
}
